//
//  SRRingTableViewCell.m
//  SportRing
//
//  Created by Elwin on 14-11-6.
//  Copyright (c) 2014年 HotOne. All rights reserved.
//

#import "SRRingTableViewCell.h"

@implementation SRRingTableViewCellModel


@end

@interface SRRingTableViewCell()

@property (nonatomic, weak)IBOutlet UILabel *ringIdLabel;
@property (nonatomic, weak)IBOutlet UIImageView *selectedImageView;

@property (nonatomic, assign)BOOL seletImage;

@end

@implementation SRRingTableViewCell

- (void)setSRRingTableViewCellData:(SRRingTableViewCellModel *)model
{
    self.ringIdLabel.text = model.ringIdSting;
}

- (void)showSelectedImageView
{
    self.selectedImageView.hidden = NO;

}


- (void)awakeFromNib {
    // Initialization code
    self.selectedImageView.hidden = YES;

}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {

    [super setSelected:selected animated:animated];
    
    if (selected)
    {
        [self showSelectedImageView];
    }
    else
    {
        self.selectedImageView.hidden = YES;

    }
}



@end
